[Android] Putting Serializable Classes into SQL?

Posted by CaseyB on Stack Overflow See other posts from Stack Overflow or by CaseyB
Published on 2010-05-04T22:11:48Z Indexed on 2010/05/04 22:18 UTC
Read the original article Hit count: 175

Filed under:
|
|

Here's the situation. I have a bunch of objects that implement Serializable that I want to store in a SQL database. I have two questions

  1. Is there a way to serialize the object directly into the database
  2. Is that the best way to do it or should I
    1. Write the object out to a formatting String and put it in the database that way and then parse it back out
    2. Write each member to the database with a field that is unique to each object

© Stack Overflow or respective owner

Related posts about android

Related posts about serializable